package com.xb.loan.admin.service.operatormanager;


import com.xb.loan.admin.bean.system.OssOperator;
import com.xb.loan.log.exception.BizException;

import java.util.List;
import java.util.Map;


public interface OperatorManagerService {
	
	public void saveOrUpdateOperator(String type, String roleId, OssOperator oo) throws BizException;

	public Map<String, Object> queryOssOperatorById(String operatorId);

	public List<OssOperator> queryOperatorList(int pageSize, int pageNum, String roleId);

	public int queryOperatorCount(String roleId);

	public void deleteOperator(String operatorId) throws Exception;

	public int updateLoginPassWord(String operatorId, String newPassword) throws BizException;
	
	public List<OssOperator> queryAll();
	
	public OssOperator getOssOperatorById(String operatorId);
}
